package com.yuyou.fn.portal.service;

import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.portal.entity.OuterCollection;

import java.util.List;

/**
 *
 * OuterCollection 表数据服务层接口
 *
 */
public interface IOuterCollectionService extends ISuperService<OuterCollection,Long> {

    List<Object> findOuterCollection(int pageNo, int pageSize, Long userId);

    Long addOuterCollection(OuterCollection outerCollection,Long userId);

    void deleteOuterCollection(Long userId,List<Long> outerCollectionId);

    Long countNumByUserId(Long userId);

    OuterCollection findByUserIdAndObjType(Long userId,Long classId,Integer objType);
}